"""
======================
@author:SUNLIN
@time:2025/3/4 19:59
@email:1232@163.com
======================
"""

# 来人买咖啡


coffee = 10
coffee_standard = 20
each_time = 3

coffee_count = 0

guest = 'LI'
while True:  # 咖啡的杯数
    if (guest == 'Mike'):
        print(guest)
        continue
        print('continue')
    coffee_count = coffee_count + 1
    print("目前已经做了", coffee_count, "杯")
    while coffee < coffee_standard:
        print("未加入咖啡粉：", each_time, "g")
        coffee = coffee + each_time
        print("已加入咖啡粉，当前咖啡粉的含量：", coffee, "g")
        # 如果少于25杯就继续做，大于25杯就不做了
    if coffee_count < 25:
        coffee_count = coffee_count + 1
    else:
        break
